$
$ SWAN - Simple example template used by rompy
$ Template: {{_template}}
$ Generated: {{runtime._generated_at}} on {{runtime._generated_on}} by {{runtime._generated_by}}
$ projection: wgs84
$

MODE NONSTATIONARY TWODIMENSIONAL
COORDINATES SPHERICAL
SET 0.0 90 0.05 200 3 9.81 1025 NAUTICAL

CGRID REG 115.68 -32.76 77.0 0.39 0.15 389 149 CIRCLE 36 0.0464 1.0 31


INPGRID BOTTOM REG 115.68 -32.76 0.0 187 150 0.0009999999999999872 0.0009999999999999905 EXC -99.0
READINP BOTTOM 1.0 'bottom.grd' 3 FREE

INPGRID WIND REG 115.68 -32.76 0.0 187 150 0.0009999999999999872 0.0009999999999999905 EXC -99.0 NONSTATION 20200221.040000 0.25 HR
READINP WIND 1.0 'wind.grd' 3 0 1 0 FREE

GEN3 WESTH 0.000075 0.00175
BREAKING
FRICTION MAD {{config.friction_coefficient}}

TRIADS

PROP BSBT
NUM ACCUR 0.02 0.02 0.02 95 NONSTAT 20

BOUNDNEST1 NEST 'boundary.bnd' CLOSED
OUTPUT OPTIONS BLOCK 8
BLOCK 'COMPGRID' HEADER 'outputs/swan_out.nc' LAYOUT 1 DEPTH UBOT HSIGN HSWELL DIR TPS TM01 WIND OUT 20200221.040000 1.0 HR

POINTs 'pts' FILE 'out.loc'
SPECout 'pts' SPEC2D ABS 'outputs/spec_out.nc' OUTPUT 20200221.040000 1.0 HR
TABle 'pts' HEADer 'outputs/tab_out.nc' TIME XP YP HS TPS TM01 DIR DSPR WIND OUTPUT 20200221.040000 1.0 HR

COMPUTE NONST {{runtime.period.start.strftime(runtime._datefmt)}} {{runtime.frequency}} {{runtime.period.end.strftime(runtime._datefmt)}}

STOP
